All Questions
1 question
1vote
2answers
472views
Map a set of types to unique IDs and runtime reinterpret back from ID and pointer in C++17
I wanted to create a relatively universal way of serialising an object, by doing a memcpy and generating a unique type ID. Stored together they can be used, for ...